using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;

namespace Sunlit.House.Floors.Dto
{
    [AutoMap(typeof(Floor))]
    public class FloorDto: AuditedEntityDto<long>
    {
        /// <summary>
        /// 标题
        /// </summary>
        [StringLength(256)]
        [Required]
        public string Title { get; set; }
        /// <summary>
        /// 参考价格
        /// </summary>
        [StringLength(64)]
        public string Price { get; set; }
        /// <summary>
        /// 建筑面积
        /// </summary>
        [StringLength(32)]
        public string Area { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        [StringLength(32)]
        public string Type { get; set; }
        /// <summary>
        /// 户型
        /// </summary>
        [StringLength(32)]
        public string Layout { get; set; }
        /// <summary>
        /// 结构
        /// </summary>
        [StringLength(32)]
        public string Structure { get; set; }
        /// <summary>
        /// 开盘日期
        /// </summary>
        public DateTime? OpenDate { get; set; }
        public int? RegionId { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        [StringLength(512)]
        public string Address { get; set; }
        /// <summary>
        /// 楼盘特色
        /// </summary>
        [StringLength(512)]
        public string Feature { get; set; }
        /// <summary>
        /// 装修类型
        /// </summary>
        [StringLength(32)]
        public string FitUp { get; set; }
        /// <summary>
        /// 产权年限
        /// </summary>
        public int AgeLimit { get; set; }
        /// <summary>
        /// 楼盘信息
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 首页推荐
        /// </summary>
        public bool ShowOnHome { get; set; }
        /// <summary>
        /// 幻灯片显示
        /// </summary>
        public bool InSlider { get; set; }
        public string RegionName { get; set; }
        public long? VillageId { get; set; }
        public string VillageName { get; set; }
        public string RegionFullName { get; set; }
        public string CoverImageUrl { get; set; }
        public ICollection<FloorImageDto> FloorImages { get; set; }

    }
}
